PUT /File/Rename/{id}/

Renames the file with the specified ID.
 

Request

Method Request URI
PUT /API/File/Rename/{id}/?sessionId=value

URI Parameters

URI Parameter Description
sessionId The ID of the current session. Specifying via an Authorization request header instead is recommended.

Path Parameters

Path Parameter Description
id The ID of the file to rename.

Request Headers

Authorization: Bearer <Current session ID>

Request Body

Name: newName
Type: System.String

Response

Response Body

A status code indicating success or the reason for failure.